package com.nbsaas.boot.customer.rest.convert;

import com.nbsaas.boot.customer.data.entity.CustomerLabel;
import com.nbsaas.boot.customer.api.domain.response.CustomerLabelResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 客户标签-实体对象转化成响应对象
*/

public class CustomerLabelResponseConvert  implements Converter<CustomerLabelResponse,CustomerLabel> {

    @Override
    public CustomerLabelResponse convert(CustomerLabel source) {
        CustomerLabelResponse  result = new  CustomerLabelResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

